package o;

public class gab {
    static final /* synthetic */ boolean ˏॱ = (!gab.class.desiredAssertionStatus());
    public boolean ʻ;
    public float ʼ;
    public int ʽ = 0;
    public float ˊ;
    private final fyg ˊॱ = new fyg();
    public gab ˋ = null;
    private final fyg ˋॱ = new fyg();
    public float ˎ;
    public fzt ˏ = null;
    private final fzp ͺ = new fzp();
    public fzg ॱ = null;
    public Object ॱˊ = null;
    public fzz[] ॱॱ = null;
    public final gaa ᐝ = new gaa();

    public fze ˎ() {
        return this.ॱ.ˋ();
    }

    public fzg ˏ() {
        return this.ॱ;
    }

    public boolean ˋ() {
        return this.ʻ;
    }

    public gaa ˊ() {
        return this.ᐝ;
    }

    public fzt ॱ() {
        return this.ˏ;
    }

    public void ˏ(fzb o_fzb) {
        this.ॱ.ˊ(o_fzb, this.ˎ);
    }

    public void ˏ(fzt o_fzt, fzy o_fzy) {
        int i;
        this.ॱˊ = o_fzy.ˋ;
        this.ˊ = o_fzy.ˏ;
        this.ʼ = o_fzy.ॱ;
        this.ˏ = o_fzt;
        this.ˋ = null;
        this.ᐝ.ˏ(o_fzy.ᐝ);
        this.ʻ = o_fzy.ॱॱ;
        this.ॱ = o_fzy.ˎ.ˏ();
        int ˊ = this.ॱ.ˊ();
        if (this.ॱॱ == null) {
            this.ॱॱ = new fzz[ˊ];
            for (i = 0; i < ˊ; i++) {
                this.ॱॱ[i] = new fzz();
                this.ॱॱ[i].ˏ = null;
                this.ॱॱ[i].ॱ = -1;
            }
        }
        if (this.ॱॱ.length < ˊ) {
            Object obj = this.ॱॱ;
            ˊ = fzm.ॱ(obj.length * 2, ˊ);
            this.ॱॱ = new fzz[ˊ];
            System.arraycopy(obj, 0, this.ॱॱ, 0, obj.length);
            for (i = 0; i < ˊ; i++) {
                if (i >= obj.length) {
                    this.ॱॱ[i] = new fzz();
                }
                this.ॱॱ[i].ˏ = null;
                this.ॱॱ[i].ॱ = -1;
            }
        }
        this.ʽ = 0;
        this.ˎ = o_fzy.ˊ;
    }

    public void ʼ() {
        if (ˏॱ || this.ʽ == 0) {
            this.ॱ = null;
            this.ॱॱ = null;
            this.ˋ = null;
            return;
        }
        throw new AssertionError();
    }

    public void ˏ(fyw o_fyw, fzn o_fzn) {
        if (ˏॱ || this.ʽ == 0) {
            this.ʽ = this.ॱ.ˊ();
            for (int i = 0; i < this.ʽ; i++) {
                fzz o_fzz = this.ॱॱ[i];
                this.ॱ.ˋ(o_fzz.ˋ, o_fzn, i);
                o_fzz.ॱ = o_fyw.ˎ(o_fzz.ˋ, o_fzz);
                o_fzz.ˏ = this;
                o_fzz.ˊ = i;
            }
            return;
        }
        throw new AssertionError();
    }

    public void ˎ(fyw o_fyw) {
        for (int i = 0; i < this.ʽ; i++) {
            fzz o_fzz = this.ॱॱ[i];
            o_fyw.ˏ(o_fzz.ॱ);
            o_fzz.ॱ = -1;
        }
        this.ʽ = 0;
    }

    protected void ˎ(fyw o_fyw, fzn o_fzn, fzn o_fzn2) {
        if (this.ʽ != 0) {
            for (int i = 0; i < this.ʽ; i++) {
                fzz o_fzz = this.ॱॱ[i];
                fyg o_fyg = this.ˊॱ;
                fyg o_fyg2 = this.ˋॱ;
                this.ॱ.ˋ(o_fyg, o_fzn, o_fzz.ˊ);
                this.ॱ.ˋ(o_fyg2, o_fzn2, o_fzz.ˊ);
                o_fzz.ˋ.ˋ.ˊ = o_fyg.ˋ.ˊ < o_fyg2.ˋ.ˊ ? o_fyg.ˋ.ˊ : o_fyg2.ˋ.ˊ;
                o_fzz.ˋ.ˋ.ॱ = o_fyg.ˋ.ॱ < o_fyg2.ˋ.ॱ ? o_fyg.ˋ.ॱ : o_fyg2.ˋ.ॱ;
                o_fzz.ˋ.ॱ.ˊ = o_fyg.ॱ.ˊ > o_fyg2.ॱ.ˊ ? o_fyg.ॱ.ˊ : o_fyg2.ॱ.ˊ;
                o_fzz.ˋ.ॱ.ॱ = o_fyg.ॱ.ॱ > o_fyg2.ॱ.ॱ ? o_fyg.ॱ.ॱ : o_fyg2.ॱ.ॱ;
                this.ͺ.ˊ = o_fzn2.ˊ.ˊ - o_fzn.ˊ.ˊ;
                this.ͺ.ॱ = o_fzn2.ˊ.ॱ - o_fzn.ˊ.ॱ;
                o_fyw.ˎ(o_fzz.ॱ, o_fzz.ˋ, this.ͺ);
            }
        }
    }
}
